package scau.erps.service;

import java.util.List;



import scau.erps.entity.TeamOrder;


/**
 * 小组订单服务接口
 * @author DCJ
 *
 */
public interface TeamOrderService {
	public int recordOrders();
	public void save(TeamOrder order);
	public List<TeamOrder> getAllOrders();
	public List<TeamOrder> getOrders(int team_Id,String year,String product,String market);
	public TeamOrder getOrderById(int id);
	public void updateTeamOrder(TeamOrder teamOrder);//更新status状态@author FYJ
    public List<TeamOrder> getTeamOrderByDeliverTime(int team_Id,String time);
    public List<TeamOrder> getTeamOrderByReceivableTime(int team_Id,String time);
    public List<TeamOrder> getTeamOrderByStatus(int team_Id,String status); //根据状态查询订单@author outsider
    public List<TeamOrder> getTeamOrderByYearAndStatus(int team_Id,String year,String status); 
}
